package org.iut.gepromis.domain;

import javax.persistence.Entity;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;
import org.springframework.roo.addon.entity.RooEntity;

@Entity
@RooJavaBean
@RooToString
@RooEntity
public class TipoAnexo {

	@NotNull
	@Size(min = 7, max = 50)
	private String codigoTipoAnexo;

	@NotNull
	@Size(min = 15, max = 100)
	private String nombreTipoAnexo;

	@NotNull
	 @Size(min = 20, max = 400)
	private String descripcionTipoAnexo;

}
